

import graphics.BootColor;
import graphics.SearchChoiceInput2;

import javax.microedition.lcdui.Graphics;

import tool.Log;

public class SearchChoiceInput3 extends SearchChoiceInput2 {

	public SearchChoiceInput3(String[] someEntries) {
		super(someEntries);
	}


	public void repaint(Graphics g) {

		g.setColor(BootColor.WHITE);
		g.drawString("test", X_SEARCH_TEXT_OFFSET, 0, Graphics.LEFT | Graphics.TOP);
		int index = getNumberOfChoices() + 1;
		Log.log("Index for search : " + Integer.toString(index));
		g.drawString(index + ". All tunes", X_SEARCH_TEXT_OFFSET, getListOffset()
				+ g.getFont().getHeight() * index, Graphics.LEFT | Graphics.TOP);

		super.repaint(g);
	}
}
